Thats why the pointer was not recognised.