make stack methods public