tidy up to refamiliarise self with code
indentation