making progress on debug