previous function changes (call calc)