[imp]:improve old to new API