you cant run project 2 with the public static void test(phoneNumber) as it is otherwise the main method project2.test(); will see that as an error.