adding fn to return found function