DRY up route making