updated cli interface