renamed JM -> rainbow