added flags for redoing buffers #40