add simple DAO function and UT