removed old code from example