update documentation
new helper function, wasFlashFired