added thumbnail argument