documented createM3 with an example