define interface of ztoml.