changed structure of chainList