generate content from cost data