Store parameters to a local variable for other methods