work in progress...cmd interface might not compile