finnally added pie color change