add some function to DAO