c bit of tidying
a  bit of tidying