added flip recipe for edges