add room functionality