Renamed roomIndex to itemIndex to better describe return value of getObjectForRoom()