Cd search implementation