added a mapper chain and a registry