use blank? instead of empty? and nil?