got edge detection to work aww yeah