third chapter implementation