Removed redundant curly brackets, decreased indentation