use debug=3 during testing