Rewrite trival case of findEscape

and added documentation