changed some methods' access