Finished stat query integration