add resource downloading example