added query shell methods