Added distinguishing between edge wells and regular wells