improve flip