simplified route function because of new route