Hi @fitzer23!
Can you try composing a small, self-contained, reproducible example illustrating your question? Right now, it's hard to work on your problem because the code above isn't runnable as-is. Even very experienced people generally prefer to work on code problems by running code, rather than by reading it.