Initial M3 code and Report