leaves and edges