changed getImage to getDataSource