Added query helper, changed tranasction response