refactoring of DyscoDAO