typo in assigning sdiffs