initalize i with 0, pkg list progress