abortive attempt to wrap it all up.

technique of detection is over-complicated and flawed
back to the drawing board...