first working beta with rectangles