adding in chapter4 assignment