Testable implementation