inconsistent brace formatting, worth changing while you're here.