changing error message to reflect fact that len(bodies) can be 0