Got it working with tuples