must finish the main function