modify getLineRooms interface