fixed some pointers
docs update