Bits of useful code for recycling