FIX: removed tabs and placed curly braces on correct line