working framework for testing code
nits printing format fixes