Fixed error (missing ")
Corrected indentation a little bit (still some ugly parts left)