now that we aren't passing a row but rather single objects, we can set these variables in the function method, rather than set them to row array values