added figure, debugging