basic slow implementation of cmodel exists