alter code which was for debugging. #85