added more debug msgs