Fixed undefined main() method
Fixed undefined main() method