Alternator and starter motor