# How can I swap opposite corners on the same face of a 2x2 cube?

I've been experimenting with using Y-permutations to solve the 2x2 cube as described here. I ended up with the cube solved but for a single face where the opposite corners were swapped and disoriented. I managed to solve the cube, but I wonder if there is a shorter algorithm to accomplish this task.

Execute the algorithm: R U' R' U' F2 U' R U R' D R2 where green is F and red is L