implement cd