edited room class and door class