Removed debugging prints and changed example slightly.