Rewrote music code