Return arrays instead of tuples