added debug instrument