process changed to switch case
add route
add .