making DTOs immutable