add sixth code portion