checking for whether numeric or string.
commenting/spacing
ensure using SERIES_QUERY_VAR instead of hardcoded query_var