edge detection and blurring added