implemented auto Dto