Started functionality for "set_route" method