Added the documentation for a method
minor cahnges