pass 265 / 272
pass TCT tests
fix and extend example