In the calculations of the evolutionary track both nuclear evolution of the normal star and spin evolution of a magnetized compact object (neutron star (NS) or white dwarf (WD)) are taken into account.