working on rects demo