modified:   expFactory.m