for speed, put is_number with low level classes