pointers
prolog + python