Delete inused code cm pie