Nearly working part a.