changed main function name