Analysis instead of trial and error