started edge detection