Add double buffer