making model objects use rects