deleted main function