adding route object