Adding getting 5 max locations. Still has bug that only returns 1 location five times.