first commit of modcalc