edit c and d