Initial commit of clean chain problem

Please merge my changes!