got rid of comments and print statements