Adding the logic
Adding the unit tests