Fixed up flip so it actually works now.