add comments and remove some methods that should not be accessed