returning gauge. deleting unused and commented code