Stop glossing over questions and answer them. You still don't make sense as to what you want to achieve. We can't just throw around random code and get a "didn't work". It doesn't work because you didn't properly ask for what you want. This is where the "better and more efficient way" comes in when you properly ask a question, or in translation "way that works".