get spec now takes dev_cm as an argument