added flickr api code