modified is_number block_2