traverse sections in pre-order