Adding global var.

This sucks!!!