some tidying and clearer documentation