adding single flash with memory, need brightness control and fade