removed some testing code from example