can make rectangles, but buggy