Changed code formatting for better overview.