Changed $curoff to take a uA argument