checkbox tree for selecting variables