Added some braces for decency's sake