ported cm to cos