used correct function name in call from expectation