add constructor, some methods, result data