added more debug info