Fixed indentation and added brackets