- Finalized secondary functions
- Finalized core decision logic.