Added doc for choose function.