Without seeing the error, it is difficult to say, but try instantiating a StaffList in your main method, and then calling searchLastName on this object. If the method is set up correctly then that should run.