You're print the cart before the horse. Tell us the specific situational problem that you're trying to solve. Like what ultimate end result are you trying to achieve.

That way we can help you achieve what you're actually trying to achieve