add object api to tries