make changing room-size function