tidied up indentation