deleted main() function