I may extract the below logic into another class, at some point.