added more debug instructions