add a choose command

fix #39