Made module variable local