linked stuff, cleanup