improved thumbnail usage