changing tuple to list of tuples