replaced static field with override-able method