There is some code formatting issue here.
Please use the same formatting as the rest of the file for consistency.
I see some `{` are on the same line, others on new line. Also below I see mixed usage of tabs vs. spaces.