comments and print statement removed