Added a timer based flap solution.