Was doing almost the same thing in two places, plus I need the same for a third case. So better have a helper function for it.
Was doing almost the same thing in two places, plus I need the same for a third case. So better have a helper function for it.