Minor changes for randomizing color of layers