removed the print statement at the end