working with flip bit