implemented maps over tuples