updated for newest diFieldFunctions / diMetConstants