Changed scope parameter order