WOrking with flip option