Got rid of senseless global declaration.