added the occurrence network stuff as well