randomizing the fading, removed a lot of dead code