added picture generation