add getPicture and getTotalDuration methods