added configurable enforcement level