add doc string to methods and class