added thumbnail treadment