debug mode
added "polite" option