this function working/took out thumbnails