added zoom out when not enough data, but code is stuck on querying