refactoring; algorithm adjustments; edgar filing extract test