add shim and routes