moved example code to subdirectory