also removed some debugging print statements to clean up the output when running in a real environment.