Fixes a bug where I got parameters backwards.