super main function def