adding thumbnail almost working