added some globals