basic CLI implemented