rewrote the steps