Email Record: Constructing logic programs /