adding the four method parse the write command
correcting some issues