fixed indentation and formatting