Made a choose function