identify enclosing function with 2 params