improvements to Chainr