Updated return type for nextSpot() to void