seeking with updating buffer - ugly gap edition
removing debug stuff