added debuging example.