created subroutes on /outputs