Started to do the ptr ref counting!