added a debug step