Add JPM Analysis code