add closing brackes