ref buffer so it doesn's dissapear from under us