working on sending tree data