Added method for calling in the raw data from queries