removed thumnail code