resolved mistake in helper variable naming