refinements for data return structure