some little bits of code tidying