add up down flip, cleanup