Can pass global variable to service