add chooser to exmaples