Flash logic

This is a good habit for keys and tags. The class itself could use a more descriptive name, though.