trying to elaborate thumbnail feature