store data in list of tuples