print changes on end