Moved queries spec