added picture path function