added coulom and updated code of CDP