changed box.content to yield and render, and box.data to data