  Two Algol-type eclipsing binary systems (EW Lyr and IV Cas) have beeninvestigated for period changes. Our study was primarily focused on thelight-time effect with an alternative explanation by magnetic activity cycles.In the case of EW Lyr we have found a third body in the orbit with a period ofabout 78 years, an amplitude A=0.052 days and orbital eccentricity e=0.57. ForIV Cas the long period is 58 years, amplitude A=0.034 days and zeroeccentricity. With these results we are also able to calculate mass functionsand minimal masses of these components.
Our study was primarily focused on the light-time effect with an alternative explanation by magnetic activity cycles.