adding routes in for loop, more logging