took out print buf