copying over from OMDoc to get the changes