consolidate return value