untested cl copy/paste