added note for log design, continued appendentries pseudocode