writing hed/dek, getting exact data