better defined edge detection

better explanation because explaining out loud to taber helped (although
it was hard at first)