changed output key to choices[0,:]