Added external variables