add debugging step