modification to dao operatoins