Answer 1d, pending finialized unit test