addding cli interface