prime method 2x as fast/changed namings (problem 3)