piping operators and using tuples instead of dicts