Advanced routing functioning correctly