turn teilerState into config