added debugging
0.5.0