added thumbnail method