completed editing, added is_numeric