Version 2.2: user can specify flip time.