small indentation error (switch cloasing brace)