The meaning of this while ... pass is not clear to me.