made some methods public