working commands and parsing