new method prinTrace for printing on console
clean-up in Router methods