Implemented choose command.