done with lastnode