Got rid of debug Math.random()