switching between buffers better