commented out ido for buffer switch