updated for latest Treecap release