add seventh code portion