function to plot prizes