full table encode works