Prev/next pointers setting inplemented, but not tested