findFoci method done