test 1 part 4 passed.defined the lookup function in environment.