add routes for types