updated t_ccl to work with the new program API