Refactored so that method variables are not passed into arrays, but passed straight through to arguements.