validation for numerics