two card functionally flipping