reference commandparser and some noodling