Change prob to 1d array of objects
Better targeting for maximum probability elements