The funds will be spent over five years on shared manufacturing platforms, batteries as well as operating systems