add some wrapper api stuff