made configurable for testing