main rectangle