Cd now works properly