returning arrays for all routes