add brackets around all variables