added early kterm sketch