adding an end to the flickr controller