added query spec - in progress