Global vars found a way to be useless ;(