add functions to use host DB