implemented stream metadata