added direct flipping command