we now have a seperate module for edge detection