Added variables and random() to create realistic flicker