adding debug instructions