Buffer as variable