add second code portion