made default levels configurable on construction