These indentations have gone out of sync. Do you mind realigning?

Also, while you are here, can you add {} to all multiline ifs?