minor, added debug logging. close #3