Adding a non working double buffer solution