more debug output removed