any way to clean up this code? I feel like it could be way simpler, but not sure how...
s
any way to clean up this code? I feel like it could be way simpler, but not sure how...