remove unused main method