added debugging info