deleted un-dry code from room.js