initial changes to runKexp for Marlo