added configurable properties and debug logs