added gauge functions that takes double values