finished exercises for cli