integrate code