refractor addPictures()