Changed code indentation for more readability