a little more testable