dto set method is created