making gauge variables