illegal use of negative numbers will throw an error