added options to createRoom