finished integration ex4