my suggestion is to make the variables all global. You don't need a header....personally i've found that seperating things into headers in debugging stages is very very annoying...it's hard to visualize everything if you have to keep opening up different documetns.