squaredBrackets code added