Removed main() function