add terms to config
preliminary: add switch in route