replaced is_int with is_numeric