#67 extract console interface