Add Math.random(); update a few things.