add evented command in parsing loops