removed a print statement from main function