instead of globals value, you may use a class with attributs.