Add calculation method