add code example for normal method injected variables