adding room key generation