m3k environment