Removed main() code