Adding flip to flip the order of a functions arguments.