Removed dbfunctions