added a static datamember and method. included more documentation.