Solved: Why does it have to be static?

Yep, more details needed. Code that compiles. What happens. What you expect to happen.