added the ability to run raw query