separate the example code from the package