tidied up docs