Removed unused thumbnail variable