rewrote parts