Added validations

Indent the right bracket the same as the start of the line where the left bracket is.