changes for solution 4 dirty