cd implemented and working