Rewrote the code