changes made at 4:51 on april 25 2014 to add mos support jap