renamed
modified

added a unit test.
refactored