define access operation for pointer types