made methods public