First cut at porting GenT plus simple example