draw rectangle frames.