coming next: encoding dicom