Updated documention and changed code formatting
Updated unit test to reflect method rename