Updated code indentation and formatting.