rectangle ready, needs testing