completely removed thumbnail function