okay current method isn't going to work

I need to take a more functional approach. Think like a C programmer.
Think. Like. A. C. Programmer.