Make Query() return ratio
gofmt -w
Gracefully handle failed queries.