set return value for room