Remove unneeded main function