if !@activities.empty? is the better format