changed print for the buffer