An attempt at making CD work in 2D