determine two rectangles overlap
update code
fair work load