inconsistent brace formatting