fast query now works