ranged query
chasing random insert bug