add CommitLog; fix understanding of parents