use tv.preset? instead of !tv.nil?