prefer functions for interating tuples