add flap mechanic