updated request by using rankBy, picking top 5 stores, fixed bugs with location calculation