new code for CMSDAS 2014