use idiomatic seq (not "not empty?")