Modify list to tuple