trial-and-error method