Yes, please use a main function. Thank you.