started combining batch and streaming (dirty working state)