[api] beautify code, new() is enough here ...