adding more debug output