Can we check for wasEmpty here?