rewrote splay and got rid of nullNode