Initial cut of small code