testing external pointer while leaving index