add debugs, closes #6