added flip method