ruter implemetation