added journaling feature