Working Code along with Unit test.