working version to draw routes