hotfix - optional args in construct

also added query response method