implementing initial version of logstreams