start using more mallard api stuff.