Replacing the brackets