Mixed up parenthesis and square brackets