calculations on prod