changed some methods and html documentation