Added additional way for switching buffers.