Implemented the working command