finish cmsketch method