adding blend code