still working on the refactor. such an interesting problem to solve. the plot thickens.