properly defined global varibles