move function lookup to separate request