getPaintings and getData