Add solution to flipping function arguments