Started working on implementing well detection. Not working yet.