Fixed indentation and added source code formatting.