worked more on the cli interface