sentence: When he got up he insulted him and tried to beat him . When he returned home , he closed the door and knew at that moment he had made a mistake .
modified: When he got up he insulted him and tried to beat him , when he returned home , he closed the door and knew at that moment he had made a mistake .
transformation: PUNCT