removed repeated closing brackets