substitute local services instead of using "this"