use new api interface
Merge branch 'issue-63' into develop