removed old query