changed cell to take in nsdata instead of images