combine data return functions