refactor: swapped args