Removed additional parameter from main function