add FunctionDB and trying to pass the first example