backup before moving the cl buffers to a different function