Replaced is_int with is_numeric