changed bottom-pi assinments