corrected/tidied indentations