adding room functionality