swap parameters around