Added print statements for control