add sub variant of flip