add brackets around individual elements