database wrapper class build
using the database wrapper class now