add callbacks to find functions