work with VPDB and sqlite mainly