Use method parameters isntead of relying on $request