removed extraneous main method