add discretization type and option