Deletes duplicate code

deleted repeated return of DAO