added flickering brightness