changes to get enrpm working