Modify calculation