@abhi-123 's detector was late and buggy. Now, I debugged it. 90% of code goes to @abhi-123 and @TimMcCool