flag timed latch

Added flag timed latches to be able to test flag insertion.