What is a better alternative to simplify my nested code below? The code does work, but I do know that nested subscriptions aren\'t good what I\'ve read. I am also not sure if I