removed a debug string value, modified the SQL getData method so it returned the result object when called