Change brackets to square brackets to fit new spec