refactor, fix bugs
added flasher
added query winker