added back code to bring back thumbnail (maybe)