adding writing of completed entries