reimplemented cli with nomnom