various miscellaneous bits of work