First hint of success in patch detection, thanks to Ankit's code. Ankit will now tweak it more to achieve the perfection