implemented x_cpants support (#39)