Adding code to create moment morph.