getPictures working