continued work on the rect class