finished ex6, still need CLI for it