Tried making rect work befor eabandoning