Making the initialization of a variable depend on another is really bad. Switch their declaration order in the header, and you've got an undefined value.