fixed method name in main