updated affordance math