modified the pic tag thumb method