chapter a implemented