remove debug statements
trying to fix error when creating new stream
trying to find out what causes bug in appending nodes
trying to fix bug in stream maintenance
improving stream