Add rounting function (under development)