adding dbfunctions directory