line range
nil check