working on routes for edges