steps toward unit tests