working on DaoGenerator