added gauge and math to solution