added accessors to room module