made some methods public for inheritance