adding initial dbase logic