Added print statements for debugging.