d in the endoplasmic r