use is_numeric instead of is_string, to let "3" work