room size changed
refactoring