Prolog personal work.