example for util.calc