generateM removed