got rid of extra print statements