use a more traditional CLI API