Fixed the declaration to include the swapping of parameters
Move the method declaration.