add methods for dao