messing around with edge detection