added the hidden buffer option