use local variable rather than parameter passed to process in local method