moving examples and exposing a function so i dont need to use