Added 2 functions: flash.on flash.off