updated pointers codes