introduce stream and container duration