helper to pass tuples as functions arguments