more structured approach to RECT drawing