latest updates on chp including random_state
merge conflict resolved