add CR1000 code from 2011 work