got rid of debug print statements