small addition to the middle step