changes router methd scope