don't blow up if a list has no elements