adapting it for CM?