basic number validation