renamed capture to load-stream