use flipflop instead of flup