add fourth code portion