added changes to ims and small fix for cis