gets routing working properly