Use the default methods in the rect class rather