Day three of prolog. Sort of.