added documentation for a method