Added user decided flip functionality