added adidional angle for edge detection