I have a list of arguments which I am trying to pass to a function and then loop through it and create variables with the data (if it is possible, some arguments create a TypeEr