added debugging stuff
comments