new development for buffered output