add 'm' and 'c' commands.