added first (untested) version of para discr tools