core: a failed attempt at intrusive lists. still todo