removed globals from noise struct