tweaking pointer test