Global vars improvement.