renamed main buffer