improved indentation of code