beginnings of OO approach with unittest