implemented flipflops for control signals of dao