adding more debug messages into flasher