added methods in DAO