added flip methods