refactor in type
test of daomethod