added buffered ram handle