compiling with tdcp -- almost