move brackets around