added buffer-viewing