replaced ) with ]